import request from '@/common/request'

// 获取订单来源下拉数据
export function getOrderSource($data) {
  return request({
    url: '/apilive/public/getOrderSource',
    data: $data,
    method: 'get'
  })
}

// 获取订单列表数据
export function getOrderData($data) {
  return request({
    url: '/apilive/public/order/list',
    data: $data,
    method: 'post'
  })
}

// 退款
export function refund($data) {
  return request({
    url: '/apilive/public/order/refund',
    data: $data,
    method: 'post'
  })
}

// 发送短信
export function sendSms($data) {
  return request({
    url: '/apilive/public/order/sms',
    data: $data,
    method: 'post'
  })
}

 